package com.lxf.education.pojo;

import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
* @author:LuoXingFa;
* @version:Date:2022年4月19日下午4:17:45
*/
@Repository
public class TeacherPojo implements Serializable {

	private Integer tid;//教师id
	private String tname;//教师姓名
	private String loginName;//教师-用户姓名
	private String loginPwd;//教师-用户密码
	private String tcollege;//所属学院
	private String tmajor;//所属专业
	private String ttitle;//教师职称
	private Integer cid;//课程id
	private List<CoursePojo> cpojo = new ArrayList<>();//课程

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPwd() {
		return loginPwd;
	}

	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public String getTcollege() {
		return tcollege;
	}

	public void setTcollege(String tcollege) {
		this.tcollege = tcollege;
	}

	public String getTmajor() {
		return tmajor;
	}

	public void setTmajor(String tmajor) {
		this.tmajor = tmajor;
	}

	public String getTtitle() {
		return ttitle;
	}

	public void setTtitle(String ttitle) {
		this.ttitle = ttitle;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public List<CoursePojo> getCpojo() {
		return cpojo;
	}

	public void setCpojo(List<CoursePojo> cpojo) {
		this.cpojo = cpojo;
	}

	@Override
	public String toString() {
		return "TeacherPojo{" +
				"tid=" + tid +
				", tname='" + tname + '\'' +
				", loginName='" + loginName + '\'' +
				", loginPwd='" + loginPwd + '\'' +
				", tcollege='" + tcollege + '\'' +
				", tmajor='" + tmajor + '\'' +
				", ttitle='" + ttitle + '\'' +
				", cid=" + cid +
				", cpojo=" + cpojo +
				'}';
	}
}
